{% extends 'base.html' %}

{% block head %}

<title>登录-在线不聊天</title>

{% endblock %}

{% block content %}
<div class="simpleui-box simpleui-row">
    <form method="POST" class="simpleui-form" action="/login">
        <label class="simpleui-form-label">用户名:</label><input type="text" name="username" autocomplete="off" required><br>
        <label class="simpleui-form-label">密码:</label><input type="password" name="password" autocomplete="off" required><br>
        <div class="simpleui-input-block">
            <input type="checkbox" name="remember" value="True" style="margin-left: 0;" id="remember">
            <label for="remember">记住</label>
            <input type="hidden" name="remember" value="">
        </div>
        <div class="simpleui-input-block">
            <input type="submit" value="登录">
            <a href="/oauth?op=github" hidden><input type="button" value="Github"></a>
        </div>
    </form>
</div>
{% endblock %}